package com.ruoyi.project.hcy.product.mapper;

import com.ruoyi.project.hcy.product.domain.series.ProSeries;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName ProSeriesMapper
 * @Author SAI
 * @Date 2020/9/17 15:03
 * @Description ProSeriesMapper
 * @Version 1.0
 */
@Repository
public interface ProSeriesMapper {
    List<ProSeries> selectSeriesList(ProSeries proSeries);

    ProSeries checkseriesNameUnique(String seriesName);

    int insertProSeries(ProSeries proSeries);

    ProSeries selectSeriesById(Long seriesId);

    int updateProSeries(ProSeries proSeries);

    int deleteProSeriesByIds(Long[] ids);
}
